package com.wms.dss.ats.customs.abb.plc;

import com.ricosoft.common.dao.dataSource.EntityDAO;
import com.wms.dss.ats.customs.abb.schedule.RGV_RKService;
import com.wms.dss.ats.customs.abb.schedule.ReadRgv_Server;

import java.util.Hashtable;

public class ReadRKRGVXF_PLC {

    public static void read(Hashtable<String, Object> m_hsSysParam, EntityDAO dao) {


        ReadRgv_Server RGVService1 = new ReadRgv_Server(ReadRgv_Server.RKRGV_IP_ADDRESS_1, 502, dao);
        RGVService1.rgvDevice.btId = 1;
        RGVService1.rgvDevice.FLOOR = 2;
        ReadRgv_Server RGVService2 = new ReadRgv_Server(ReadRgv_Server.RKRGV_IP_ADDRESS_2, 502, dao);
        RGVService2.rgvDevice.btId = 2;
        RGVService2.rgvDevice.FLOOR = 3;
        m_hsSysParam.put("readrkrgv1", RGVService1);
        m_hsSysParam.put("readrkrgv2", RGVService2);

    }
}
